<{include file="Public/top.html"}>
</head>
<body>
<div id="warpper">
    <div class="content">
        <div class="location">微信好友统计</div>
        <div class="ui-tab">
            <{include file="Editor/EditorData/nav.html"}>
        </div>
        <div class="filedSet" style="padding-bottom: 0;">
            <div class="search">
                <form action="" id="searchForm" method="get" class="ui-form reportForm">
                    <input name="m" type="hidden" value="<{$module}>">
                    <input name="c" type="hidden" value="<{$controller}>">
                    <input name="a" type="hidden" value="<{$action}>">
                    <input name="p" id="page" type="hidden" value="<{$page|default:1}>">
                    <input name="limit" id="limit" type="hidden" value="<{$limit|default:10}>">

                    <div class="ui-form-item inline-block">
                        <label class="ui-label">开始时间</label>
                        <input type="text" name="startDate" id="startDate" class="ui-text startDate" value="<{$startDate}>" readonly/>
                    </div>
                    <div class="ui-form-item inline-block">
                        <label class="ui-label">结束时间</label>
                        <input type="text" name="endDate" id="endDate" class="ui-text endDate" value="<{$endDate}>" readonly/>
                    </div>
                    <div class="ui-form-item inline-block">
                        <button type="submit" class="ui-button" onclick="LayerShow();">查询</button>
                    </div>
                </form>
            </div>
        </div>

        <!--表格内容-->
        <div class="mainGrid">
            <table class="ui-table ui-body">
                <thead>
                <tr>
                    <th class="pct15">日期</th>
                    <th class="pct10">好友总数</th>
                    <th class="pct10">美食好友</th>
                    <th class="pct10">旅游好友</th>
                    <th class="pct10">手艺好友</th>
                    <th class="pct10">时尚好友</th>
                    <th class="pct10">影视好友</th>
                    <th class="pct10">户外好友</th>
                    <th class="pct10">美食群好友</th>
                    <th class="pct10">旅游群好友</th>
                    <th class="pct10">手艺群好友</th>
                    <th class="pct10">时尚群好友</th>
                    <th class="pct10">影视群好友</th>
                    <th class="pct10 last-col">户外群好友</th>
                </tr>
                </thead>
                <tbody>
                <{if $data}>
                    <{foreach from=$data item=item}>
                        <tr>
                            <td><{$item.objTime|date_format:"%Y-%m-%d"}></td>
                            <td><{$item.totalFriendNum}></td>
                            <td><{$item.foodFriendNum}></td>
                            <td><{$item.tripFriendNum}></td>
                            <td><{$item.craftFriendNum}></td>
                            <td><{$item.fadFriendNum}></td>
                            <td><{$item.filmFriendNum}></td>
                            <td><{$item.outdoorFriendNum}></td>
                            <td><{$item.foodGroupFriendNum}></td>
                            <td><{$item.tripGroupFriendNum}></td>
                            <td><{$item.craftGroupFriendNum}></td>
                            <td><{$item.fadGroupFriendNum}></td>
                            <td><{$item.filmGroupFriendNum}></td>
                            <td><{$item.outdoorGroupFriendNum}></td>
                        </tr>
                    <{/foreach}>
                <{else}>
                    <tr>
                        <td colspan="14">暂无数据</td>
                    </tr>
                <{/if}>
                </tbody>
            </table>
        </div>
        <!--描述：分页-->
        <div class="pagination">
            <{include file="Public/page.html"}>
        </div>
    </div>
</div>
<{include file="Public/foot.html"}>
<script>
    datePickter('startDate','endDate',1);
</script>
</body>
</html>
